package com.yuan;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDiscoveryClient//标注为SpringCloud客户端
public class SpringCloudProviderOneApplication {

    public static void main(String[] args) {
        //启动类
        SpringApplication.run(SpringCloudProviderOneApplication.class, args);
    }

}
